// userPageC/pages/abulkOrderDetail/vouchersCode/vouchersCode.js
Component({
  data: {

  },
  properties: {
    grouponQrCode: {
      type: String,
      value: '',
    },
    grouponNo: {
      type: String,
      value: '',
    },
  },
  methods: {
    handleChoose(){
      this.triggerEvent('handleChoose')
    },
    copy(){ //复制
      wx.setClipboardData({
        data: this.properties.grouponNo,
        success (res) {
          wx.showToast({
            title: '复制成功',
          })
        }
      })    
    },
  }
})
